package HomeWorkNewYear;

public class ooDay02Test {
    public static void main(String[] args) {
        ooDay02Student wmm = new ooDay02Student("wmm",18,"wuxi","2412",1);
        wmm.eat();
        wmm.sleep();
        wmm.sayHi();
        wmm.study();

        ooDay02Teacher wkk = new ooDay02Teacher("wkk",18,"shanghai",10000);
        wkk.eat();
        wkk.sleep();
        wkk.sayHi();
        wkk.teach();

        ooDay02Doctor dxm = new ooDay02Doctor("dxm",18,"henan","主治医生");
        dxm.eat();
        dxm.sleep();
        dxm.sayHi();
        dxm.cut();
    }
}
